package com.huike.clues.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huike.common.entity.MPTbCourse;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @Description TODO
 * @Author hxd
 * @Date 2023-08-29 21:04
 */
@Data
@TableName("tb_course")
public class MPTbCourseDTO extends MPTbCourse {

    @TableField(exist = false)
    private String createBy; //创建者

    @TableField(exist = false)
    private Map<String,Object> params;

    @TableField(exist = false)
    private String remark;

    @TableField(exist = false)
    private String searchValue;

    @TableField(exist = false)
    private String updateBy; //更新者


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime updateTime;


}
